Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Rails edge and passenger

#40

Hi,

I'm working with the latsest version of rails from github, the lastest version of restful_authentication from github and passenger to run in development and production.

The problem is that he just doesn't want to login. When I un it in development using script/server it does work, but not with passenger. Is this a known problem and more important, is there a solution for it?

thx

Reported by joren · February 5th, 2009 @ 07:32 AM

State: new
Milestone: none
Assigned to: nobody

Activity

  1. Redmar
    Redmar

    I've had the same problem. My quick fix was to use the active record session store instead of the cookie based session store. This can be defined in config/initializers/session_store.rb

    just uncomment the following line: ActionController::Base.session_store = :active_record_store

    But there is something broken with the cookie storage for sure. But i'm still not sure if it's broken in passenger, edge rails or only the auth plugin.

    March 1st, 2009 @ 06:25 AM

  2. Newdevas
    Newdevas

    Im having the same problem here, Ill try the fix above...

    March 17th, 2009 @ 07:01 AM

  3. lighthouse (at helbling)
    lighthouse (at helbling)

    I have the same problem -- Gentoo, Passenger, Rails 2.3.2, Restful Authentication, cookie session store. It seems to not be setting up the user in the session correctly.

    March 20th, 2009 @ 01:29 PM

  4. lighthouse (at helbling)
    lighthouse (at helbling)

    Ok i just upgraded my Passenger server to 2.1.2 and it seems to be working fine.

    I followed the instructions here... http://blog.phusion.nl/?s=2.1.2

    • gem install passenger then
    • passenger-install-apache2-module

    This put the .so in a abnormal spot for gentoo... so I had to update the modules.d/30_mod_passenger.conf file to point to the new locations.

    March 20th, 2009 @ 02:25 PM

  5. mamooth
    mamooth
    • Assigned user cleared.

    It worked just fine for me too. I've updated to passenger 2.2.4 and the cookie session store worked again.

    on Debian etch :

    sudo gem install passenger

    sudo passenger-install-apache2-module

    Edit your apache2.conf as described at the end of the install process.

    July 21st, 2009 @ 05:23 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.